package org.summerframework.component.security.role.service.dto;

import org.summerframework.core.page.PaginationQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * user_role_rel
 * @author
 */
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
public class UserRoleRelQueryDTO extends PaginationQuery {
    /**
     * 主键
     */
    @ApiModelProperty(value = "根据主键排序")
    private Boolean orderById;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "角色类型")
    private Integer roleType;

    @ApiModelProperty(value = "角色类型关联的id")
    private Long roleRelId;

    /**
     * 状态  1:正常 0:禁用
     */
    @ApiModelProperty(value = "状态  1:正常 0:禁用")
    private Integer status;
}
